package com.kfm.spring.service;


import org.springframework.stereotype.Service;

@Service
public class AccountService implements IAccountService {

    public void transfer(String source, String target, double money){
        System.out.println("transfer start");

        System.out.println(source + "扣除" + money + "元");
        int i = 5 / 0;
        System.out.println(target + "增加" + money + "元");

        System.out.println("transfer end");
    }

    @Override
    public void get() {
        System.out.println("get");
    }

    @Override
    public void getA() {

    }

    @Override
    public int getB() {
        return 0;
    }
}
